ADP\BaseVersion\Includes\Context A

Total Complexity 72
Dependencies 13
Dependents 82
Total lines 498
Lines of code 249
Logical lines of code 129
Comment lines 94
Methods 39
Properties 13

Methods 39

Method Rating Maintainability Complexity Lines of code
__construct()
A
38 12 68
setUpPricesSettings()
A
46 8 39
getProp()
S
65 3 10
setMode()
S
73 3 5
isPluginAdminPage()
S
77 3 3
isDoingAjaxRefAdmin()
S
65 3 8
fetchAdminQueryProps()
S
72 2 5
isWoocommerceProductLoop()
S
74 2 4
fetchQueryProps()
S
72 2 5
isCatalog()
S
78 2 3
setCurrentUser()
S
74 2 5
isRequestToRestApi()
S
64 2 9
setProps()
S
70 2 6
getSettings()
S
82 1 3
isWoocommerceShopLoop()
S
78 1 3
isUnpackVariationsWithAnyAttributes()
S
79 1 3
isHideRulesWithoutDiscountInOrderEditPage()
S
79 1 3
isDisableShippingCalculationDuringProcess()
S
79 1 3
isAllowExactApplicationOfReplacementCoupon()
S
79 1 3
isUsingGlobalPriceSettings()
S
79 1 3
isUserLoggedIn()
S
82 1 3
handleError()
S
83 1 3
isDebugMode()
S
80 1 3
isProductionMode()
S
80 1 3
isMode()
S
80 1 3
getCurrencyCode()
S
81 1 3
getAvailableTaxClassSlugs()
S
82 1 3
getOption()
S
80 1 3
getPriceDecimals()
S
81 1 3
getTaxDisplayCartMode()
S
80 1 3
getTaxDisplayShopMode()
S
80 1 3
getIsPricesIncludeTax()
S
81 1 3
isAdpAdminPage()
S
76 1 4
getCurrentUser()
S
82 1 3
isWoocommerceCouponsEnabled()
S
81 1 3
isDoingPhpUnit()
S
80 1 3
isProductPage()
S
80 1 3
is()
S
79 1 3
getIsTaxEnabled()
S
81 1 3